package cn.itsource.service;

import cn.itsource.domain.Teacher;
import cn.itsource.query.TeacherQuery;
import java.util.List;
import java.util.Map;

public interface ITeacherService {
    //基础方法5个
    List<Teacher> findAll();
    Teacher findOne(Integer id);
    void delete(Integer id);
    void add(Teacher teacher);
    void update(Teacher teacher);

    Map<String,Object> queryPage(TeacherQuery teacherQuery);

    //批量删除
    void patchDel(Integer[] ids); //List<Integer> ids
}
